#pragma once

#include <evutil.h>
struct event_base;

class XTask
{
public:
    virtual bool init() = 0;
    virtual ~XTask() {};
public:
    event_base *mBase = nullptr;
    int mThreadId = 0;
};

